add license headers to the flask example. #286