Added peekChar function

Hi,

Also needed peekChar function, so here it is, with some tests :)

Cheers

Edit: but I am still clearly missing something in my git methodologies.. I have no idea why it still lists all previous commits.