Simulate robot path and detect boundedness | Roblox Interview Question