Fixed a few problems with putting '.in' files in folders
Mainly needed to use find_last_of and the problem was fixed.
I am now testing fact.in.