Replaced Pixel class with built-in Point class