Adds rubocop and changes codes to pass

This way you don't know if it's three arguments in which the last is a Hash, or instead four required arguments.