solution code

added solution code to the template
Revert "solution code"

This reverts commit d6cf2375a775c1aa5391e34bc80a4b00b029c0ff.