SPOJ and Project Euler solutions commit