Create Alerts.java
edited to include alerts
Added comments to Alerts.java