add x17 algo, cleaned djm34 commit

todo: visual studio...