gaussian elimination in python