Three arrested for attempted burglary