Added Function to add data to pages table

Created database, made functions.php file, wrote function to add data
to sql table