Tomaz Hocevar's submission of Traffic jam | CodeChef