Java No Such Algorithm Example In Python Code For Snake