fully implemented LOCKING
implemented LOCKFREEC
added testing for LOCKFREEC