last homework from Computer Organization course :)