Initial commit.

Argument checking has been implemented. Created the skeleton for the
functions to be used.