made Table class Thread Safe
changed the treemap that the table class uses to a syncronizedMap so
that it can be accessed by Multiple threads