added array class
added findNthToLast and unit test for it.
removed unused imports.