Some solutions to project euler problems