I've run into few problems with my assignment, would appreciate any advices..
How can I update an atomic integer?
Any tips dealing with deadlock?
and what is a GC memory error?

Thanks!