Added a head indicator to machine's __str__