added java versions of the quines