Minor fixes in branching and functions.

Some class practice renamed to homework.