Add Ball class and partial implementation