Course project for Department of Multiprocessor Systems and Networks, BSU, 2013.