a hodgepodge codes for java