Little script for Liu Algorithm