A spolling simulate program