week 3 buggy search

Fully functions