Dis_carea's submission of The Wave | CodeChef