Small mistake in malloc. Add newline in print.