project euler: add solution to problem 5-7
move my first post from old blog