some other homework in C51 course