Solutions to problem as seen on here: http://evernote.com/careers/challenge.php