implement frame table, pass userprog tests