Code for solving problems on codeeval.com.