Added solution to first problem on project euler