fixed walls and now working on snake object with affinetransforms