Introduction to graphs: Theory, problems and solutions