Updated Search.cs

- Reworked the program searching function to be much more efficient