Read the file directly from the threads (+ protection using mutex)
Print factorization in order
Take input from stdin + use two distinct mutex