My solution to some project euler problems