Google Code Jam problem visualized using AngularJS and CSS3 animations