Fixes Incomplete Snake code