Half written new index file based on assignment - I hate EMACS