There is so much wrong with this story and it's only the first chapter!
First, even if that code snippet implied creation of anything like an easter egg—and it definitely doesn't—this code would merely result in an error and that's it. Seeing as this was supposed to show us MC's coding...