problem 1 lab 3 OS with struct