Doing project euler