Added peekChar function

Hi,

Also needed peekChar function, so here it is, with some tests :)

Cheers