in-lab basically done. handles devide by zero as well as reaching the end of the stack when trying to preform an operation