Stack implementation

added peek and empty methods from Java impelementation