Solutions to CodeIQ Challenge 432 "Crossing"