Adding IndexOutOfRangeException

Now throwing IndexOutOfRangeException on the indexer if it is out of
range