Added a factor? method, to return boolean

Returns if a smaller number is a factor of a larger number
Uses mod (%) to determine if a number is a factor
returns true or false