Problem 50 wip

- Algoritm is WAY too inefficient