Project Euler
Whenever I learn a new programming language, I found the best way was to launch myself in the deep end and answer Project Euler puzzles. These are mathematical problems that can be solved with programming. Bear in mind these are my personal answers, so be warned there will be spoilers. Here is my collection of solutions: