New Snake class with initial members and cell detection.