Added one more deadlock example

Added one more deadlock example ( this using synchronized keyword )