vikram's submission of FlatLand | CodeChef