Project Eular Q2 done

Will that's the q2 from the project Eular... Haven't tested it due to my
IDE crashed, but it should be right