added machines function to list cluster instances
added machines function to list cluster instances