Simple Algorithm For Pipe Flow