Fixed Formatting issues + added isInteger method.