Your assignment is to make a program that can tell if a word is correctly spelled. A word is correctly spelled if it can be found in the file given below.

Your program shall start by loading the file /usr/share/dict/words into an array. Then your program will wait for the user to type on the keyboard. Every word the user types shall be checked upon the array. If the word is found say "yes" else print the words from the dictionary that comes before and after they searched for word.

For example, if the user types "aree" you should print "Word not found: Between areas and arena".

10,000 points -- Can read the file
10,000 points -- Uses binary search to find the word on the list.
10,000 points -- Can determine if the word exists
10,000 points -- Can beat my son in a game of 
Yu-Gi-Oh.
10,000 points -- Can print the word before and after
5,000 points  -- Your program ignores case.
10,000 points -- Turned in before Thurday Jan 26th at 4pm.
-5,000 points -- Every school day thereafter.

This assignment is out of 55,000 points.

Please be aware that the comnputer does not think that "Bee" is between "apple" and "cherry". It cares about case. You might search for some string operators.