Updated, added cabal file
changed index type to Int
minor