Adding the code

Added the netbeans project, should be commented