Coding in GEM5

Can you solve this project, it is due Wednesday midnight.