Basic graphics functions added.