Simple processor implementation for Computer Architecture class