fixed. working

used algorithm from
http://stackoverflow.com/questions/1818186/cant-quite-get-project-euler-
problem-2-figured-out