A couple programs put together while working through Java books