Programming Puzzle given to me by Empowr as part of their application process