Teaching mechanisms of machines to students of automaion egineering