homework

ive attempted the linear search one