added coveralls gem to the spec helper.
except for greatest common divisor, all test cases passing with 100% code coverage. And, 4 offences in rbocop.