Program is now able to compute simple operations with precedence. Also changed a bit from original implementation