Made calculator implementation.