Add license to all euler projects, format to support my new Configuration of IntelIJ.
Solve problems 17 and 25