snake goes in the right bound and goes out from left bound, the same with top and bottom