Got a lockfree queue with a producer and consumer thread working.

optimized it with dad's help to transfer 10^7 ints in 4 secs using the
sleep_for(25 microseconds) to reduce context switching