Function rotate

Source
fn rotate(point: Point, amount: i32) -> Point