removed system.out.print that was used for debugging
fixed error in bitsifting
improved border handling
working!