2-D Cloud Model implement in Cpp