project euler solutions to some problems