Add rotate method to Shape class. Change method name of translate to translate!.