Project Euler 31
Tried different cases