Working threaded increment

This runs but takes way longer than just running the normal program.