adding stack implementation jStack