Create library.js

File to store functions. Added create_colorSwatch, function that turns hex color value into css background.