initial version - has only insert - yet to implement locks
added locks to insert - lock is using CAS - its slower than lockfree
version