Property and Equipment - at cost (Details) - USD ($)
Apr. 30, 2018
Jul. 31, 2017
Property, Plant and Equipment [Line Items]    
Property and equipment - net $ 50,004,769 $ 49,485,089
Construction in progress 785,528 644,809
Building Improvements at 9 Bond Street in Brooklyn, NY [Member]    
Property, Plant and Equipment [Line Items]    
Construction in progress 644,809
Building improvements at Jamaica, NY building [Member]    
Property, Plant and Equipment [Line Items]    
Construction in progress 551,901
Building improvements at Fishkill, NY building [Member]    
Property, Plant and Equipment [Line Items]    
Construction in progress 233,627
Buildings and Improvements [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 82,515,948 80,825,601
Improvements to Leased Property [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 1,478,012 1,478,012
Land [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 6,067,805 6,067,805
Construction in Progress [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 785,528 644,809
Property [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 90,847,293 89,016,227
Less accumulated depreciation 40,926,729 39,648,642
Property and equipment - net 49,920,564 49,367,585
Fixtures and Equipment [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 144,545 144,545
Other Fixed Assets [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 193,015 193,015
Fixtures and equipment and other [Member]    
Property, Plant and Equipment [Line Items]    
Property and equipment 337,560 337,560
Less accumulated depreciation 253,355 220,056
Property and equipment - net $ 84,205 $ 117,504