Snake movement using new algo