fixed array addition errors

fixed up the addition errors that pertained to the array and deleted
out unwanted comments and/or code.
workspace file added to idea folder