It works but need to change MyStack to accomodate double