Changed data type of stack to be char instead of int because we are pushing characters and not ints