added function level documentation
added submission files