Some exercises out of the Introduction to Java Programming (9th edition) book by Liang