add note about space at end of lines in java solutions