Added drawing function to line and circle