A low cost autonomous underwater vehicle for patrolling and monitoring