Changed function style
Added test file and suggestions file