Finalized The Calculator

Added the final alert and console log at the end.