finish user_mem_check(), finish lab3