updaed/colorized assignment5
alternative solutions for assignment 4
clorized, optimized assignment 4