Python codes written for Stephan's Quintet project