Cleaned up a two scripts
Solved problem 12
Solved problem 25