Implemented assignment

Implemented assignment including commented functions into the supplied
file. Comments follow Google's R Style Guide.