Implemented Synchronized method Thread Example

Implemented Synchronized method Thread Example.
Refactored Thread Interference example and moved some classes.