Water-powered beam engines