Wrote basic Graphics functions.