free list,active list

free list finish, active list half done. implementing register mapping.