Railroad Puzzles