Added dog years problem

Moved dog years problem from FSO platform to script.js file and solved.
Confirmed in browser test that it works.