ex5, updated ex1

Misunderstood main's return val in ex1, so fixed that note.