computer organization homework lab2, a simple single cpu