Some java examples for myself