Fixed a weird character bug in the first problem. Made a HTML page where you can run easily the solutions for the problems.