X-axis placement of squares changes dynamically

Still need to:
1) Have colors update dynamically
2) Change the y value
3) Tweak the starting x value