I really struggled to figure out how to make a valid path. I didn't understand that the guard needed to also face the correct direction when reaching the starting point again. Once I got that down, it was very enjoyable. Nice work! Hope the feedback helps.