base file for project euler 7