Added method to print out calculated dimensions and test method to test
it