Formatted code
Added Factors program