fixed typos in practical assignment
minor index edits