Calculator for Assignment