A rust program that demonstrates deadlock