Seperating sort algorithms to multiple files