(not full) code using manual threads, no joining yet, i just wanted to also try it on the other computer