add peek operation
Merge pull request #2 from rkusa/master

add peek operation