Add function to clear screen.

Note: I didn't implement the Windows version because although I found
the code for it, I don't have a Windows dev environment to test it on.