calculator - added functionality

Percent and negative buttons are working
Trasfered all format display stuff from calculate() method into separate
method.