C programming assigment. 2014-2015