Moved exercise into a package; modified .gitignore.