My solutions for the NCSS Challenge 2013 Advanced Stream