Change to RA.java

Creation of viewOccupancy function