Solutions to challenges from http://www.codeeval.com/