Added solution to Problem 39

Seems naive but runs almost instantly