Prime factors working
Added a couple of comments