Rakshit's submission of The Wave | CodeChef