finished the assignment -

answers to questions are in PA1-answers.txt

fixed code: there are 2 packages for the 2 solutions for thread safety:
Task3 - Method level synchronization
Task4 - Block level synchronization (Synchronized statements)