solutions for project euler problems. java and python.