adds safe array access helper methods to typecheck elements
adds safe dictionary access helper methods to typecheck elements
Merge pull request #1 from jeremytregunna/safe-access

Safe access