Exercise1. modified boot_alloc()