Add imports to AddRandomWeight

Signed-off-by: johnny510088 <johnny510088@gmail.com>
Paste the code into AddRandomWeight.java and modify the import libyary