A gentle intro to optimization and the Polyak-Łojasiewicz inequality