Follow Directions - Microsoft Coding Challenge Puzzle