some java tutorial samples i found on the interwebs