move to bitbucket
small changes
fixed a bug, where a loop would never end, because of the weird behaviour of uint (255+1<255)