updated factors.rb and factors_spec.rb
updated lib and spec folders
removed old file
updated problems upto 9 and added pythagorean module
finished updating problems 1-25
updated rest of currently completed problems