Do not post fully coded solutions. Why?
1. The person does not learn from it.
2. It is academic dishonesty (plagiarism) and they can be expelled from school or university.

Please remove you code...