Added assembly templates and fixed some typos

This would probably help do the assignment and may help
in documenting the encoding.