Java exercises done by me