Solutions to project euler. Please only read this to compare solutions.