add peek method for stack