Shortest Path with Alternating Colors — CaffeCode