move learning algorithm to seperate file, start a stylesheet, write functions to seperate out redness, greenness & blueness, oh my!