You should have provided an honest answer. You may be able to get a visa, as your childhood unlawful presence would not be counted against you, but your claimed memory lapse can create problems of another sort -- making false statements to gain entry into the U.S. can result in permanent exclusion. At least it wasn't a false denial, so it's something you can probably overcome in the future.