Game Of Life Java implementation