Improved house by using scanl.