Implementing Outline and Filled Rect classes