Advanced calculator and divide by 0 error implemented