Fixed array bug, added paths, updated readme

Fixed array bug, added paths, updated readme