Removed reduntant begins.
Updated variable struct to support function types.

Signed-off-by: Aeron Avery <jedrix2454@gmail.com>
Added a code example in the readme.