Solutions to various programming problems from projecteuler, acm.timus, etc