Project euller code