Adding computer move func

Add computer move functionality