optimizing null-bytes exercise