on passing letters patent for inventions, and to provide for the purchase for the public