Added two first practices of processes management in java