Added createBracket function to submit bracket

to database at api/bracket